<!DOCTYPE html>
<!--OVERALL TEMPLATE-->
<html>
	<head>
		<title><?php if( isset( $title ) ) echo $title; ?></title>
		<link rel="shortcut icon" href="/images/favicon.ico" />
		<script src="/js/jquery-1.3.2.min.js"></script>
		<script src="/js/datePicker.js"></script>
		<script type="text/javascript" src="/js/jquery.countdown.package-1.5.9/query.countdown.js"></script>
		<script>
			$(document).ready( function() {
				$.datePicker.setDateFormat('ymd','-')
				$('.datepicking').datePicker();
			} )	;

		</script>
		<link rel="stylesheet" type="text/css" href="/css/exam_styles.css" />

		<script>
			
		</script>
<?php if( isset( $style ) ) : ?>
		<style>
<?php echo $style ?>
		</style>
<?php endif ?>
	</head>
	<body>
		<div id="container">
			<div id="header_container">
				<div id="header">
					<div id="logo">
						<a href="/"><img src="/images/logo_exampage.png" class="png" /></a>
					</div>
<?php 			if( isset($globalnav) ) : ?>
					<div id="globalnav">
<?php 				echo $globalnav ; ?>					
					</div>
<?php 			endif; ?>
				</div>
			</div>
			<div id="main_container">
<?php 		if( isset($usernav) ) : ?>
				<div id="usernav">
<?php				echo $usernav ; ?>					
				</div>
<?php 		endif; ?>			
				<div id="main">
					<h1><?php if( isset( $heading ) ) View::show( $heading ); ?></h1>
					<div>
						<?php if( isset( $content ) ) echo $content; ?>
					</div>
				</div>
			</div>
		</div>

	</body>
</html>